﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using SerialPortDal;

namespace SerialPortBll
{
    public class SendDataLogBMO
    {
        public static List<SendDataLog> getAll()
        {
            return SendDataLogDAO.getAll();
        }

        public static int save(SendDataLog obj)
        {
            return SendDataLogDAO.save(obj);
        }

        public static int delete(SendDataLog obj)
        {
            return SendDataLogDAO.delete(obj);
        }
        public static int delete(int id)
        {
            return SendDataLogDAO.delete(id);
        }

        public static SendDataLog selectObjByName(string name)
        {
            return SendDataLogDAO.selectObjByName(name);
        }
    }
}
